//
//  YPSongController.h
//  WHISPER
//
//  Created by lanou3g on 15/12/23.
//  Copyright © 2015年 王艳苹. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^musicBlock)(NSMutableArray*,NSInteger);
typedef void(^playFlag)(BOOL);

@interface YPSongController : UIViewController

@property (nonatomic,copy) musicBlock block;
@property (nonatomic,copy) playFlag playBlock;
@property (nonatomic,assign) BOOL isComeHomePage;
@property (nonatomic,assign) NSInteger index;
@property (nonatomic,copy) NSString *tingId;
@property (nonatomic,strong) NSMutableArray *tempListArr;
@property (weak, nonatomic) IBOutlet UITableView *listTableView;
@property (weak, nonatomic) IBOutlet UIView *songView;
@property (weak, nonatomic) IBOutlet UIWebView *webView;
@property (weak, nonatomic) IBOutlet UIView *otherView;
@property (weak, nonatomic) IBOutlet UIScrollView *mainScroll;

@property (weak, nonatomic) IBOutlet UILabel *timeLable;
@property (weak, nonatomic) IBOutlet UIButton *disBtn;
@property (weak, nonatomic) IBOutlet UIButton *likeBtn;
@property (weak, nonatomic) IBOutlet UIImageView *songImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UILabel *disLable;
@property (weak, nonatomic) IBOutlet UILabel *likeLable;
@property (weak, nonatomic) IBOutlet UIView *firstView;
@property (weak, nonatomic) IBOutlet UIView *secondView;
@property (weak, nonatomic) IBOutlet UIView *Thirld;
@property (weak, nonatomic) IBOutlet UIView *forthView;
@property (weak, nonatomic) IBOutlet UIButton *preSong;
@property (weak, nonatomic) IBOutlet UIButton *playBtn;
@property (weak, nonatomic) IBOutlet UIButton *nextSong;
@property (weak, nonatomic) IBOutlet UIImageView *hostImage;
@property (weak, nonatomic) IBOutlet UIImageView *userImage;
@property (weak, nonatomic) IBOutlet UILabel *hostLable;
@property (weak, nonatomic) IBOutlet UILabel *userLable;
@property (weak, nonatomic) IBOutlet UILabel *radioLable;
@property (weak, nonatomic) IBOutlet UICollectionView *otherWorks;
+ (instancetype)shareSongController;

@end
